﻿<Window x:Name="MainForm" x:Class="Edex2IBS.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Обмен данными с системой EDEX" Height="285" Width="480" SizeToContent="WidthAndHeight" WindowStartupLocation="CenterScreen" ResizeMode="NoResize">
    <Grid Margin="0,0,0,7" HorizontalAlignment="Left" Width="470">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="465*"/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <GroupBox Header="Загрузка справочников IBS/HQC в EDEX" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Height="139" Width="245">
            <Canvas Margin="10,10,-2,-1">
                <StackPanel HorizontalAlignment="Left" Height="108" VerticalAlignment="Top" Width="89" Canvas.Left="126">
                    <Button Content="Станции" HorizontalAlignment="Left" VerticalAlignment="Top" Width="80" Height="25" BorderThickness="10" Margin="5,5,0,5" Click="Button_Click_3"/>
                    <Button Content="Поставщики" HorizontalAlignment="Left" VerticalAlignment="Top" Width="80" Height="25" Click="Button_Click_1" BorderThickness="10" Margin="5,5,0,5"/>
                    <Button Content="Товар" HorizontalAlignment="Left" VerticalAlignment="Top" Width="80" Height="25" Click="Button_Click_2" BorderThickness="10" Margin="5,5,0,5"/>
                </StackPanel>
                <StackPanel Height="76" Canvas.Left="10" Canvas.Top="10" Width="64" RenderTransformOrigin="0.672,0.496">
                    <RadioButton x:Name="Radio_IBS" Content="IBS" Margin="5,10" IsChecked="True"/>
                    <RadioButton x:Name="Radio_HQC" Content="HQC" Margin="5,10"/>
                </StackPanel>
            </Canvas>
        </GroupBox>
        <GroupBox Header="Загрузка накладных в IBS" Margin="272,10,0,154" HorizontalAlignment="Left" Width="187">
            <Canvas Margin="0,0,0,56">
                <Button Content="Загрузить" Canvas.Left="10" Canvas.Top="10" Width="161" Height="38" Click="Button_Click_6"/>
            </Canvas>
        </GroupBox>
        <GroupBox Header="RPO/IBSimport" HorizontalAlignment="Left" Margin="10,154,0,0" VerticalAlignment="Top" Height="94" Width="245">
            <Canvas Margin="0,0,-2,0">
                <StackPanel Height="52" Canvas.Left="10" Canvas.Top="10" Width="82">
                    <RadioButton x:Name="Radio_RPO" Content="RPO" Margin="5"/>
                    <RadioButton x:Name="Radio_IbsImport" Content="IbsImport" Margin="5"/>
                </StackPanel>
                <Button Content="Сформировать" Height="52" Canvas.Left="97" Canvas.Top="10" Width="128" HorizontalAlignment="Left" Click="Button_Click_4"/>
            </Canvas>
        </GroupBox>
        <GroupBox Header="Загрузка кодов HQC" HorizontalAlignment="Left" Margin="272,101,0,0" VerticalAlignment="Top" Height="139" Width="187">
            <Canvas HorizontalAlignment="Left" Height="117" VerticalAlignment="Top" Width="175">
                <TextBox Height="23" Canvas.Left="10" TextWrapping="Wrap" Text="\\msk-hqdb-01.retail.tnk-bp.ru\HQCUpload\Supplier_Code\" Canvas.Top="10" Width="155"/>
                <Button Content="Пуск" Canvas.Left="10" Canvas.Top="38" Width="155" Height="69" Click="Button_Click_5"/>
            </Canvas>
        </GroupBox>

    </Grid>
</Window>
